import request from 'utils/request'

// 分享店铺信息
export const distributorShopInfo = (params) => request.get('/p/distributorShop/info', params)

// 分享店铺商品列表
export const distributorShopProds = (params) => request.post('/p/distributorShop/shopProds', params)

// 商品一级分类列表
export const distributorShopQueryCategory = (params) => request.get('/p/distributorShop/queryCategory', params)

// 选择商品列表
export const distributorShopSelectProd = (params) => request.get('/p/distributorShop/selectProd', params)

// 添加商品
export const distributorShopSaveProd = (params) => request.post('/p/distributorShop/saveProd', params)

// 移除商品
export const distributorShopDeleteProd = (params) => request.post('/p/distributorShop/deleteProd', params)

// 更新店铺广告
export const distributorShopUpdateAdvertisement = (params) => request.post('/p/distributorShop/updateAdvertisement', params)

// 更新店铺头像
export const distributorShopUpdateAvatar = (params) => request.post('/p/distributorShop/updateAvatar', params)

// 更新店铺名字
export const distributorShopUpdateShopName = (params) => request.post('/p/distributorShop/updateShopName', params)

